<?php


namespace app\controller;

use app\Request;
use \app\service\articleStatisticsService;
use think\response\Json;

class articleStatistics
{
    // 文章统计 点赞 收藏
    public function index(Request $request):Json
    {
        $uid = $request -> get('uid');
        return articleStatisticsService::articleStatistics($uid);
    }
}